package org.rsbot.event.impl;

import java.util.logging.Logger;
import org.rsbot.event.events.CharacterMovedEvent;
import org.rsbot.event.listeners.CharacterMovedListener;
import org.rsbot.script.wrappers.RSCharacter;

public class CharacterMovedLogger
  implements CharacterMovedListener
{
  private final Logger log = Logger.getLogger(CharacterMovedLogger.class.getName());

  public void characterMoved(CharacterMovedEvent paramCharacterMovedEvent) {
    this.log.info("Character Moved: " + String.format("%2d %s", new Object[] { Integer.valueOf(paramCharacterMovedEvent.getDirection()), paramCharacterMovedEvent.getCharacter().toString() }));
  }
}